package com.mask.mapper;

import com.mask.entity.OrderInfoEntity;
import com.mask.model.DTO.OrderQueryInfoDTO;

import java.util.List;

/**
 * @author hx
 * @date 2021/10/15 4:30 下午
 */
public interface OrderInfoMapper {
    /**
     * 查询所有订单数据
     * @return 订单列表
     */
    List<OrderQueryInfoDTO> queryUserInfoJoinOrderInfo();



    int deleteByPrimaryKey(Long orderId);

    int insert(OrderInfoEntity record);

    int insertSelective(OrderInfoEntity record);

    OrderInfoEntity selectByPrimaryKey(Long orderId);

    int updateByPrimaryKeySelective(OrderInfoEntity record);

    int updateByPrimaryKey(OrderInfoEntity record);


}